// 基于template/src/widgets/{{appEntities}}/{{ctrls@LIST}}-list/{{spinalCase ctrl.codeName}}-list-model.ts.hbs生成
import { IListModel } from "@/core";

//  获取列表模型
function getModel(): IListModel {
    return {
        cssName: "",             
		aggMode: '',
		caption: '',
		controlType: 'LIST',
		codeName: 'GroupByCodelistList',
		entityCodeName: 'IBIZBOOK',
		entityLogicName: '图书',
        ctrlMsgModel:[
    ],
		enableGroup: true,
		//  请确保此项与表格分组列模型中的dataIndex一致
		groupDataIndex: 'grid_group',
		groupMode: 'CODELIST',
		groupField: 'type',
      	groupCodeListTag: 'Sample__BookType',
		name: 'list',
		noSort: false,
		showHeader: true,
		sortDir: '',
		sortField: '',
		limit: 10,
		dataImport: {
            codeName: 'DataImport',
            ignoreError: false,
		},
		paging: {
			defaultPageSize: 10
		},
    };
}

export const model = getModel();